home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
parallel-C disk ^1.adf
/
CHAN.H
< prev
next >
Wrap
Text File
|
1997-12-31
|
755b
|
32 lines
/*
** chan.h
**
** Header file for Parallel C's `chan' package
**
** Rev 000 IAY 4-Nov-1987 Created
*/
#ifndef CHAN_H
#define CHAN_H 1
/*
** A channel contains a pointer to a process
*/
typedef char *CHAN;
/*
** This is the value of a channel word when
** it is not actively communicating
*/
#define NotProcess_P ((char *)0x80000000)
#define Link0Output ((CHAN *)0x80000000)
#define Link1Output ((CHAN *)0x80000004)
#define Link2Output ((CHAN *)0x80000008)
#define Link3Output ((CHAN *)0x8000000C)
#define Link0Input ((CHAN *)0x80000010)
#define Link1Input ((CHAN *)0x80000014)
#define Link2Input ((CHAN *)0x80000018)
#define Link3Input ((CHAN *)0x8000001C)
#define EventReq ((CHAN *)0x80000020)
#endif